﻿using System;

class calculateTheSum
{
    static void Main()
    {
        double i;
        double sum = 1;
        int mark=1;
        for (i = 2; i <= 100; i++)
        {
            sum = sum+(mark* (1 / i));
            mark = mark * (-1);
            Console.WriteLine(sum);
        }
    }
}